#ifndef OBJECTO_HPP
#define OBJECTO_HPP
#include "material.hpp"

class Vector;
class Ray;

class Object {
public:
	virtual ~Object(void);
	
	virtual	double intersection(const Ray&,Vector&) = 0;
	virtual Vector get_normal(const Vector&) const = 0;
	
	Material* get_material(void) const;
	void set_material(Material*);

protected:
	Material* material;

};

#endif

